import os
print("python:", os.environ.get("PYTHONPATH"), '\n')
print("C++:", os.environ.get("LD_LIBRARY_PATH"),'\n')
from tpuKneron import *


tpu = tpuKneron()


code = tpu.init()

if code != 0:
    print('device is not found')
    exit(-1)

str = tpu.get_model_config()


print(str)

tpu.reboot()
